{% extends 'base.html' %}

{% block body %}
<a href="/add/">Adicionar nova mídia</a>
<ul>
{% for item in item_list %}
<li>
	<a href="/media/{{item.numberMedia}}">
	{{item.numberMedia}} - {{item.group.name}}
	</a>
</li>
{% empty %}
<li>Sem itens na lista.</li>
{% endfor %}
</ul>

{% endblock %}